added stats engine