temp added maxspeed and acceleration