Worked on number of gaussian detection