getting stuff
fixed Constraint class