adding detail view