removed stats functions