added simple "delete" functionality for lines