Correct typos in a variable name and a method name, and some minor grammar