Add Pattern matcher