Completed searchedLine, tests pass