completed seperation into stats controller