adds index view