changing noise function