splitting course details into two views