adding the publish secion