corrected some mistakes in comments