Changed stats to class methods