tidy up of log output, some comments