adding log messages