prepare publishes