renamed ResourceStat to ResourceStats