Fixed example after moving scope.