                 var kineticResponseForce:Number = -sign(wheelSurfaceVel) * normalForce * coefKf * getLongForceRatio(slipRatio);
 
                 // feed friction force back into torque
-                var responseTorque:Number       = kineticResponseForce * wheelRadius;
-                var angAcc:Number               = (appliedTorque + responseTorque + brakingTorque + totalDragTorque) / wheelInertia;
+                var kineticResponseTorque:Number= kineticResponseForce * wheelRadius;
+                var angAcc:Number               = (appliedTorque + kineticResponseTorque + brakingTorque + totalDragTorque) / wheelInertia;
                 var oldAngVel:Number            = wheelAngVel;
                 wheelAngVel                    += angAcc * dt;
 

    public const gravity:Number             = 9.81;
    public var wheelMass:Number             = 20;
    public var wheelRadius:Number           = 0.33;
    public var wheelTorque:Number           = 2000;
    public var brakeTorque:Number           = 2000;
    public var carMass:Number               = 400;
    //public var wheelInertia:Number          = 0.5 * wheelMass * wheelRadius * wheelRadius;
    public var wheelInertia:Number          = 20;

    public var coefSF:Number                = 0.15;
    public var coefKf:Number                = 1;
    public var airDensity:Number            = 1.29;
    public var frontalArea:Number           = 2.2; // = 1;

                slipRatio = direction * (wheelAngVel * wheelRadius + wheelPosVel) / Math.abs(wheelPosVel);

            //slipRatio   = wheelPosVel != 0 ? (wheelAngVel * wheelRadius + wheelPosVel) / Math.abs(wheelPosVel) : 0.0;

            if(Math.abs(slipRatio) < 0.01)
                useStaticFriction = true;
        }
    }

