adding log output