Several examples of the use of Pubsub