simplify code by removing "published" and always use "published?" instead