adding validator
validator function
checker that uses validators