add detail view but like it doesn't work why