working pubsub through proxy
keep pubsub example together