dpmm syn exp, code refactorization: modelname specified