add global analysis