adjust acc and speed