add timeString function
more progress on logger