setting gmm explicitly