starting work on processLines, everything working