added syntax error when using input function as non-parameter var