renamed contraintFilter to constraintsFilter