add gaus method