All stats functions now wrapped