Moved input out