add some comments
 /refactoring code