The Denver Nuggets acquired versatile swingman Rudy Fernandez and forward Corey Brewer from the Dallas Mavericks on Tuesday for a future second-round pick.   

The trade gives the Nuggets added depth as the team attempts to work out an agreement with guard Arron Afflalo, who is a restricted free agent. The team signed Brazilian centre Nene to a five-year deal on Tuesday night.   

After playing the past three seasons in Portland, Fernandez was traded to Dallas in a three-team deal last June that landed Andre Miller in Denver and Raymond Felton with the Blazers.   

Miller and Fernandez will now be paired up again in the Mile High City.   

Brewer signed with Dallas late last season and appeared in six playoff games for the NBA champs. He has averaged nearly nine points over four seasons.   

"We are excited to add two talented young wing players who have proven themselves in the NBA," said Masai Ujiri, the executive vice-president of basketball operations for the Nuggets. "I'm confident they will fit well with Coach [George] Karl's style of play."   

Fernandez has been a backup most of his NBA career, averaging 9.1 points over 24.1 minutes in 218 games. His role with the Nuggets is up in the air. Miller and Ty Lawson are looking like the starting guards at this point, especially in light of Afflalo's uncertain return.   

But Fernandez's flexibility will allow Karl to find him minutes.   

Brewer said on his Twitter account shortly after the trade: "Man the NBA is a business I'll miss you Dallas but can't wait to get to Denver!"