modified pfilter