complete the input validation