Moved getCourse to util