modified speeds, removed unneccessary variables