SYDNEY (AP) — Two-time world champion James Magnussen is a late addition to the Australian swim team for the Olympics in Rio de Janeiro, securing a relay spot almost two months after missing individual selection for the 100-meter freestyle.

Magnussen was a hot favorite for gold in the 100 at the London Olympics in 2012 but finished with the silver medal by 0.01 of a second in a meet overshadowed by out-of-the-pool behavioral issues for the Australian men's relay team.

Nicknamed "The Missile," Magnussen missed the 2015 world championships after surgery on his left shoulder and couldn't recover in time to earn one of the two automatic selections in the 100, finishing fourth at the national Olympic trials in April.

He earned a spot when FINA, the world swimming federation, confirmed Australia's quota place in the 4x100 freestyle relay. Matt Abood and James Roberts were also added for the relay, Swimming Australia said Tuesday.

Magnussen has been in Colorado at a training camp and won the 100 freestyle at the U.S. Swim Series in Santa Clara, California on the weekend.

"I'm really looking forward to contributing to this relay team to the best of my ability," said Magnussen, who was part of the medley relay which took bronze in London but surprisingly missed a medal in the 4x100. "My shoulder is continuing to feel stronger by the week. I love swimming in relays and think this team has a lot of talent and potential."