add suport for folded lines
Merge pull request #3 from aenario/master

add suport for folded lines