final version of PIFM