Implemented stats emitter