create method for hours and clean up layout for course