adding tenant support for stats