Checked Validator

made appropriate changes