forgot to delete [] results when we were done with it