Getting new notes functionality to work