added hinge class