em_pf_3.7 instead of many old functions