added basic publishing