kept stiff distance between joints
added input module