added stats controller