preparation for publishing