put scopes into module