added pd distr plotting