making patterns