Tom Latham cracked a brilliant century Wednesday while fellow-opener Devon Conway missed out on one of his own by eight runs as New Zealand replied strongly to Pakistan on the third day of the first Test in Karachi.
Latham's 13th hundred -- the most by a New Zealand opener -- took the visitors to 245-2 at lunch in reply to Pakistan's first-innings total of 438.
Kane Williamson, having overturned a leg-before decision against him, was unbeaten on 19, and Henry Nicholls on 10 after New Zealand resumed at 165 without loss.
Latham swept spinner Abrar Ahmed for a single to reach three figures, eclipsing John Wright's 12 centuries as an opener for New Zealand.
He was finally dismissed for 113 after miscuing a reverse sweep and was caught in the slip.
Latham hit ten boundaries in his 288-minute knock.
Latham and Conway put on 183 for the first wicket, beating the New Zealand record against Pakistan of 181 set by openers Mark Richardson and Matthew Bell at Hamilton in 2001.
The Pakistan camp has been hit by viral flu with neither skipper Babar Azam nor Agha Salman taking the field in Wednesday's first session.