updated notch code