Working on pubsub client