new complex version. Implemented StatsSystem