make soft delete optional