working grab_courses command