added stats collector implementation