original input file, string tokenizing bugfix, main commented