Save state in intermudd