add two functions that generates noisy data