Added additional line functionality and documentation