Implementing very basic publishing functionality