made all necessary deletions