simple pubsub device