added line deletion, untested