added publishers, and removed old code