Fix some typos, add a new variable