have the detail view working