Defined input validation