add detail view