worked on removability and hinge generation