hist/pmf example