add some comments in the .R files