Added pubsub example