Carey locked in for 6 years, $39m