England batted themselves into a slender lead on a successful third day of the second Test against Bangladesh in Dhaka.
They had Ian Bell to thank for a well-crafted century although things could have been different if the umpires had awarded some clear-cut lbw decisions.
The hosts got off to the perfect start when Jonathan Trott (64) failed to add to his overnight score after playing onto his stumps from Shakib Al Hasan, who picked up his second scalp of the innings.
Bell carved his 50 from 100 deliveries, including six fours, as he pulled the middle order together in tough conditions.
Matt Prior, who came in when Trott was dismissed, also brought up his half-century before the lunch interval, despite riding his luck when Rubel Hossain's lbw shout went in his favour with the ball striking him plumb in front.
After a slow start to his innings, the wicket-keeping batsman soon flourished, bringing up a much-needed knock for his side in 83 balls with seven fours.
Bell was also struck in-line but once again the men in charge waved away extended Tigers' appeal.
However, Prior's hard work was undone when Shakib dismissed him, hitting the top of his middle and off stumps, when well placed on 62 as he attempted a huge slog.
Bell's prudent approach continued alongside Tim Bresnan and the Warwickshire man grabbed his tenth Test match century just after the halfway stage.
He flashed a Rubel Hossain delivery away to the ropes to score his 100 from 201 balls, with 11 fours and a crunching six helping him along the way and the pair survived the Tigers' innocuous bowling attack as they left for tea just 47 runs adrift.
In the third over of the re-start, Bell skewed to Imrul Kayes, but he dropped the diving chance as Bangladesh's woes continued.
Bresnan's effective performance brought him his maiden Test match 50 from 137 balls as he smashed Shakib's ball over and beyond him to the boundary in fine style to bring up the landmark.
Bell was finally dislodged when he attempted to grab the contest by the scruff of the neck. After hammering Shakib away for a four, he tried to knock the last ball out of the ground but only ended up lofting his delivery into the hands of Jahurul Islam and off he went for a magnificent 138, ending his partnership of 143 with Bresnan.
Graeme Swann (6) was unfortunately run-out when Bresnan hit Shakib's delivery straight back to him and he brushed the ball onto his stumps when stranded outside his crease.
Stuart Broad (3) couldn't get going as he departed lbw off Mahmudullah in the final stages but Bresnan (unbeaten on 74) stood firm alongside newcomer James Tredwell (0 not out) as England reached the close of play on 440-8, 21 runs ahead.