Validator

added stmt validator