implemented globalModel