add global to model