implement deleting features.