added pf summing functions