restored master stats functions