add some comments about the codes