edit code in def my_note in class note