added filter for tasks