changest to vspeed lookups to avoid vspeed_class refference before assignment.