Add and delete lines