some comments in publish routine