add cumulative noise function