The Giants and right-hander Matt Cain were close to agreement Wednesday on a four-year contract with an option for a fifth year. "It's ongoing," said Bobby Evans, the Giants' director of player personnel. "It's not finalized." Several issues were still to be worked out. The 22-year-old Cain, coming off an impressive rookie season and considered the ace of the future, is slated to be the club's No. 2 starter this season behind left-hander Barry Zito. Cain's contract will be comparable to the deal left-hander Noah Lowry received last spring: $9.25 million for the same number of years. Cain led all rookies with 13 wins and 179 strikeouts last season, going 13-12 with a 4.15 ERA in 190 2-3 innings, finishing in a tie for fourth place in NL Rookie of the Year voting.