Used Josh's awesome kappa to generate values