Leeds - Dawid Malan's painstaking fifty helped England establish a potentially match-winning lead in the second Test against the West Indies at Headingley on Monday.
England were 357 for seven in their second innings at tea on the fourth day, a lead of 188 runs after conceding a first-innings deficit of 169.
Malan fell shortly before the interval for 61, one of a quickfire trio of wickets for off-spinner Roston Chase.
But Chase's burst may not compensate for the cost of several dropped catches, errors that threaten to deny the West Indies a series-levelling win in this three-match contest after a much-improved batting and bowling display following their innings and 209-run thrashing in the first Test at Edgbaston.
Only three sides have successfully chased more than 200 to win in the fourth innings of a Test at Headingley and the last of those occasions was when England beat Australia in 2001 on the back of Mark Butcher's blistering hundred.
England were 303 for four when, to the first ball after drinks, left-hander Stokes lofted a Chase delivery that spun away from him straight to long-off, where Kraigg Brathwaite took a well-judged catch on the boundary.
The all-rounder, who made exactly 100 in England's first innings, fell for a fluent 58 that featured 11 fours.
Fellow left-hander Malan, dropped on 32, had dug in for more than four-and-a-half hours when Chase finally pierced his defences.
Jonny Bairstow, dropped on 13, was bowled for 18 on his Yorkshire home ground after trying to extravagantly reverse-sweep Chase.
Chase had now taken three wickets for six runs in 22 balls, with England 327 for seven.
Malan was able to drop anchor while England captain Joe Root (72) and Stokes, who made exactly 100 in the first innings, scored at a quicker rate.
England resumed on 171 for three, a lead of just two runs, after the West Indies had made 427 in their first innings following hundreds from Shai Hope (147) and Brathwaite (134).
Root, dropped in the gully on 10, was 45 not out and Malan, who had a lucky break on four when the West Indies opted against a review when a challenge would have seen the Middlesex batsman out caught, unbeaten on 21.
Root, dropped on eight en route to 59 in England's first-innings 258, completed his second fifty this Test in 87 balls after he edged two fours off Kemar Roach between the slips and gully.
His first innings had seen the Yorkshireman equal South Africa star AB de Villiers's record of scoring fifties in 12 Tests in a row.
However, in none of the previous 11 had Root managed to pass fifty in both innings.
Root's controlled clip past mid-on for a four off Shannon Gabriel raised a century partnership with Malan in 162 balls.
The England skipper's fine form continued when he drove Roach through mid-on, with a desperate dive by West Indies captain Jason Holder, for all his 6ft 7in height, unable to prevent another boundary.
But the breakthrough the West Indies so badly needed came when Root, cramped for room trying to cut Gabriel, steered the ball to gully where Shai Hope, succeeding where brother Kyle had failed on Sunday, clung on to a juggled catch.
But another West Indies catch went down when first slip Kieran Powell missed Malan off Holder, although the blame lay with Shane Dowrich after the wicket-keeper came across for the chance but then bailed out.