changed done on recordStat