adding PubSub