added quantile plotting