update for typo fixes and trailing space elimination