new publish routine
forgot these for publish routine