learning to implement parFilter