Adding statistics library