define filter only for tasks