Constraint class added