modified publish