added motor and limit to hinge joint