started input validation