add parent note
remove log
oop style