Got the communication of state almost ok