Speed test
Another state machine
Speedup first switch