worked on a new class to easily access statistics considering I wish to use them in more than one place.