fixed compare by distribution
added prettyprint