Statistics now generate properly