work on index for ios