added dirichlet scoring