ipairs() requires the index to start at 1, and stops when there is a nil value, even if there is more entries in the table after said nil value. pairs() iterates through the entire table regardless of index or value.