prep for publishing