the first example of pubsub