messed up scope.