wiring up courses functionality