making modifications to lines.cpp, still making edits