change speed to double