sub scopes (issue #11)