for(var disaster in disasterlist) { if(disaster.status == "unannounced") { var response = preparedisasterresponse(); alertpopulation(); downplaypanic(); showreawakenedhope(); } else if(disaster.stage == "predissolutionary") { monitorandadaptpromptly(); } }