Add code for Hinge