Implemented stats collect