patterns course