work on hinge constraint