Ghana moved to the brink of a place in the quarter-finals of the African Nations Cup with victory over Mali in Franceville.
Goals from Asamoah Gyan and Andre Ayew gave the Black Stars a second win in as many Group D games, with a game against fellow qualifying hopefuls Guinea to come in the final round.
However, the outcome could have been so different had Mali striker Cheick Diabate not seen his free-kick strike both posts when the game was goalless.
Mali started brightly, with Sochaux forward Modibo Maiga showing why he has attracted interest from European sides with some enterprising wing play.
In the 21st minute Ghana defender John Boye was lucky to escape punishment for making contact with his studs with Ousmane Berthe while the Mali defender was on the ground.
However, Ghana gradually began to assert themselves on the contest and the first chance of the game came soon after, in the 25th minute, when Kwadwo Asamoah's left foot shot from long range brought a fumbled save out of Soumaila Diakite - and Sulley Muntari was unable to turn the rebound in.
Asamoah produced another powerful left-foot shot 10 minutes later - but his effort went wide.
However, Ghana had a lucky break in the 38th minute when Diabate saw his 20-yard set-piece strike both posts. The rebound fell to Abdou Traore - but he fired over.
The last chance of the first half came when Ayew rose highest to meet Emmanuel Agyemang-Badu's centre - but his header went wide.
Diakite saved low from Ayew in the 55th minute and reacted sharply to deny the Marseille striker another chance on the follow-up.
However, Ghana opened the scoring after Bakaye Traore fouled Ayew, with Gyan curling his 63rd-minute free-kick expertly into the top corner of the goal.
And Gyan had a hand in Ghana's second goal, 13 minutes later. The Sunderland striker, on loan with United Arab Emirates club Al Ain, found Ayew with a clever backheel and watched as his team-mate cut inside and beat Diakite at his near post with a low left foot shot from 12 yards.