course and coursetype connected