created state and event logic. 3rd base disappearing act still a mystery bug.