reworked stats system significantly