more examples on pubsub