now detail view working