added log messages