added hinge_lyt class