new qpattern