working on communication of states