it *works*, but scopes are broken!