make data deletion optional