starting CPT work, simplified DN edge deletion code