add pubsub examples