putting handle_equipping_gear in conditional
moving handle_equipping_gear