fine adjustments to a bit more demonstrating the publish function