added a speed mode