additional validations of input