refactoring lines with color codes (wip)
refactoring lines with color codes (done)