A State Machine. Under Construction.