add some functions beta distribution