publishTo more idiomatic