final version of pifm