note creation debugged