[PD] sort of off topic... how to write a filter..