finished implementing the new stat stuff