Qmpattern