let secretjourney = function() { for (let i = 0; i < americans.length; i++) { if (americans[i].year === earlier) { relegate(americans[i], 'pioneer'); } else if (americans[i].parameter === 'innovation') { americans[i].re_embark = true; alert('embrace the secret of innovation!'); } } };