thinking there should be checks here. Unless we are guaranteed to have an exit,and entry action in every state