added namespacing to stats
added status counter