futzed with formatting of output, added -x feature to show frequencies for sanity check