Using the built-in statistics library