Fully implemented the first statistics