improved log system