added verticalMotor code