added percfilt()