partial implementation of task filter