use more delete [] operators