SHANGHAI (AFP) - US swimming legend Michael Phelps knows he has a year of hard graft ahead after the world championships, while China can be quietly confident of making a big splash at the London Olympics. Phelps was forced to play second fiddle in Shanghai to team-mate Ryan Lochte, who starred with five golds, and he also had to share the limelight with Missy Franklin, 16, who enjoyed a breakthrough meet. And although the United States were once again runaway medals leaders with 16 golds in the pool, China finished second, boosted by 19-year-old Sun Yang, who wiped out Grant Hackett's 10-year-old 1500m freestyle record on the final night. A mere mortal might be happy with four golds among a haul of seven medals to show for a week's efforts, but for Phelps it is verging on a flop after his eight-title spree at the Beijing Olympics. "There are a lot of things that are going to really help me for motivation over the next year and there are a lot of small things that I can change," said Phelps, 26, who will retire after the London Games. "We have 12 months to prepare for London, and that's what I plan on doing." Lochte, who beat Phelps in the 200m freestyle and then in world record time in the 200m individual medley, is a reluctant hero but he proved decisively he is now the man to beat. "Honestly, I don't really think I'm the top dog," he said, adding: "No matter what the outcome of the end of the year championship meet, right afterwards.