amalgamated var declaration in scopes