move publisher-indicators out of main summary fn
move publisher_simple fn out
move publisher simple fn out
remove parens
sanitise if-statement
remove unused variable
move out summary functions
fix indentation