global inference