cleaned up stats class formatting