added gauss generator