worked on relationship model index view