pattern simplified