Add an example using Pub/Sub