james cook contract