organizing statistics and adding mutual information library