start to write timecounter