moved input to top