added semicolons to end of 2 statements (and fixed a misspelled word in comment)