application of Gauss