work on index view