correct usage of indexing for spritz