pattern creator