noiseSamp was in wrong plase