adding comments to the log class