Add some prints to figure out scope.