simplifying the ConstraintBuilder