Should be using the array delete[] for the