added scope order to examples