patterns courses