completed basic server stats functions