added gmm extraction