implemented delete plan