changes for detailed view (not finished)