Defending champion Roger Federer will face a pair of Andys in group play at the season-ending Masters Cup next week.
Wednesday's draw of the top eight available men's tennis players – using fortune cookies with their numbers inside – put the Swiss star in the Red Group with Britain's Andy Murray, American Andy Roddick and France's Gilles Simon.
Federer, who has slipped to second in the rankings, became the top seed when Rafael Nadal pulled out due to tendinitis in his right knee. That forced the Spaniard to withdraw during last week's Paris Masters.
Federer also dropped out in Paris, citing a sore back, but has arrived in Shanghai and intends to play.
Third-ranked Novak Djokovic of Serbia is the top seed in the Blue Group, which also contains Russia's Nikolay Davydenko, Jo-Wilfried Tsonga of France – who won in Paris to seal his spot in Shanghai – and Juan Martin Del Potro of Argentina.
In the Masters Cup the eight players are divided into two groups of four and play three round-robin matches each against the other three players in their group. From there, the two group leaders progress to the knockout semifinals.
The champion will take home $600,000 (SFr700,000), rising to $1.3 million if he remains undefeated. This is the last year that the Masters Cup will be held in Shanghai; in 2009 it moves to London.
Federer won the Cup in 2003, 2004, 2006 and 2007, losing a five-set final to David Nalbandian in 2005.