var userexperience = new userexperience(); userexperience.preinitiation(() => { var diamonddiscovery = finddiamondsthatevadedetection(); if (diamonddiscovery.count > 0) { kickstartagainwithexplanation("congratulations! you've found undetectable diamonds that evade typical detection methods. this is a rare and exciting find!"); } else { offerguidanceonhowtosearcheffectively(); }});