naming in pubsub example changed to match common naming