log file added
Working.  Added comments