add basic validations