changing speed to be random