use has_many assignment in Course