added the dirichlet