def METHOD_NAME(motor, power, distance):
    _dir = Ed.FORWARD
    _reverse = False
    if (power < 0):
        _power = _shorten(-power)
        _reverse = True
    else: _power = _shorten(power)
    if (motor == Ed.MOTOR_LEFT):
        if (_power == 0): 
            Ed.DriveLeftMotor(Ed.STOP, 0, 0)
        else: 
            Ed.DriveLeftMotor(_getDirection(_dir, _reverse), _power, distance)
    if (motor == Ed.MOTOR_RIGHT):
        if (_power == 0): 
            Ed.DriveRightMotor(Ed.STOP, 0, 0)
        else: 
            Ed.DriveRightMotor(_getDirection(_dir, _reverse), _power, distance)