renames getline1 to getline