added stats support