arrange some code in def my_note/class note