corrected some errors.