preparing for publish