is it optimal way to dlete all?