TaskProblem Filter seems to work, litte improvements needed (code optimization)