changed indexing