added a detail view