worked on index view