added a dimishing noise parameter