changed string conversion in processLine()