added filter to tasks