edited stats method