moved input into the form