added stats debug