preparing everything to publish