Added delete lines method