generating the noise samples