added getspeed function to human