blog post about state machine and go