1. add note things.
2. remove useless code