Corrected variable spelling error from "validqte" to "validate" on Line 18.