Wales set up a Rugby World Cup quarter-final with Six Nations rivals France as they topped Pool D with a far-from-perfect 35-13 win over minnows Uruguay.
A largely second-string Welsh side committed a slew of handling errors and forward passes but eventually had too much firepower, with two late tries putting some gloss on the scoreboard.
A day after Typhoon Hagibis had wreaked havoc across Japan, conditions were perfect for running rugby at Kumamoto Stadium on southern Kyushu island.
Stream the Rugby World Cup 2019 on KAYO SPORTS. Every match Live & On-Demand on your TV, computer, mobile or tablet. Get your 14 day free trial >
But in a match that should have been straightforward for the Six Nations champions, Wales — who played a bruising game with Fiji only four days earlier — struggled to establish their dominance.
When the final whistle blew they had enjoyed 66 per cent of possession and 73 per cent of territory, yet it took three tries in the last 15 minutes to give them a respectable scoreline.
For most of the match it was a sloppy display, although Wales at least completed pool play unbeaten for the first time since the inaugural World Cup in 1987.
Uruguay, who shocked Fiji in their tournament opener, threatened an even bigger upset when they trailed by only one point at halftime.
Wales had dominated all the right statistics, forcing Uruguay to make 90 tackles while missing 19 more in the opening 40 minutes.
But they seemed bereft of ideas and finesse, letting themselves down with a succession of knock-ons, and turned only 7-6 ahead.
Wales coach Warren Gatland, who made 13 changes to the side that started against Fiji on Wednesday, could not have been impressed with the high error-count.