prep for publish