Fixing 'input' usage