added the initial capabilities for deleting lines