add class methods and update Stats api