Fixed join method
Added lineArray(#17)