add indices to list