can we make this writeStat?