move note addition to class init function