Your backend should probably be a state machine · HackerTrans