Brilliant batting from Tom Latham, BJ Watling and Colin de Grandhomme has given the Black Caps a chance of an unlikely test victory in Sri Lanka.
A lot still needs to go New Zealand's way, but they have hope — something that didn't look likely when rain washed out the opening session of day four of the second test.
That element — the unpredictable Colombo weather — remains their greatest foe, along with a hobbled Sri Lankan batting line-up which may have to hunker down on the final day against a New Zealand bowling attack which will have renewed reason to fire.
When bad light stopped play, after the rain cleared in time to allow 48 overs on the penultimate day, the Black Caps had built a 138-run lead, largely thanks to Latham, who carried on from his 10th test century yesterday to reach 154. From 126-4, he and Watling took their side from a slightly precarious to a dominant position, with Watling unbeaten on 81 as the Black Caps reached 382-5 near the end of the day.