sets up detailed view