adding dirichlet distribution