Initial noise cancelling code