readd defaultspeed value
code cleaning