stats library