patterns & how to