emit methods for pubsub