secure delete function