initialize $validInput