added log file output