Simplify pattern