refactor - add published