add helper class for empty author
simplify
group related code together