moved 'publishTo' outside of _publish method