do not remove method __setStats