new note functionality