moved stats to service