now use readline() for input, parser ignores whitespace