courseOBject!! and tweaks to template_setup