modified the comments in the code