StatHat Class