little changes to gmm