no loop for indexing