first version of pm_trigger ext