sending state data