set a random speed