with patterns