Add pub/sub example