New publishState() functions