added a Pubsub for reloading