forcing the code to use pubsub version 3