Use lua's 1-indexing