vspeed and reg define in struct