trying to get detail view to work