Add new function and matchobject