making the dependsOn filter a class filter