var geologyproposal = new function() { var preliminaryresearch = getdata("geology"); var baseline = preliminaryresearch.restartfrombaseline(); foreach (var data in baseline) { if (data.issubrosa) { renounce(data); } } return createproposal(baseline); };