refactor of noise