Australia recovered from 116 for eight to end day two of the first ever day-night Test on top against New Zealand.
A ninth-wicket stand between Peter Nevill and Nathan Lyon, aided by a controversial review, steered the hosts into a first-innings lead, and they then reduced New Zealand to 116 for five under the lights in front of another packed crowd at the Adelaide Oval.
Australia, replying to New Zealand's first innings of 202, began the day on 54 for two but quickly ran into trouble as Adam Voges went for 13 and Shaun Marsh soon followed, run out for two.
When Mitchell Marsh followed for four, Australia were on 80 for five, and things got worse after captain Steven Smith went for 53, Peter Siddle went for a duck and Josh Hazlewood followed for four, leaving his side eight down and still 86 runs behind.
It might have been even worse moments later, when Lyon attempted a sweep which was snagged in the slips. New Zealand called for a review, and despite a faint mark on Hot Spot, Lyon controversially survived.
It proved a key turning point as Lyon helped Nevill move the scoreboard on to 190 before departing for 34. Mitchell Starc then added a dogged 24 before Nevill was the last man out for 66, giving Doug Bracewell his third wicket.
Only 20 runs behind, New Zealand might have felt they still had the upper hand as they started their second innings, but a flurry of wickets changed all that.
Hazlewood struck twice in two overs to remove openers Tom Latham and Martin Guptill, leaving the Black Caps on 32 for two.
Mitchell Marsh then took over, removing Kane Williamson for just nine and trapping Brendon McCullum lbw for 20 with the score 84 for four.
Ross Taylor was Hazlewood's third victim, lbw for 32, and New Zealand were left to limp to the close - now needing the sort of rearguard action which served Australia so well.
Do YOU want to write for GiveMeSport? Get started today by signing-up and submitting an article HERE: http://gms.to/writeforgms