updated to gpFn for re-analysis