tweaking output logging