some modifications for generating the distribution for kdml presentation.
person --> p