added log system