add basic validations for MD