changes to Math.jack