Implemented the destroy line feature for multiple line