wrote up logstats