add global reference manager