adding statistics library