added beta distribution