wrote up pubsub, not quite sure how i want to use it yet