renamed resultString