Finite state machine sandbox.