Sox land Gomes for two years, $10M