Terry corrected the code with the suggested edits.