First setup for implementing the publish method