modified, using Gaussian Generative model