Is this code within the evaluate(PERFORMANCE* perf) function or within the run() function?