for(var i = 0; i < toads.length; i++) { if(toads[i].status == "eschew" && toads[i].stage == "pre-initiation") { providerecommendations(toads[i]); } else if(toads[i].name == "go back to the beginning and unveil the cryptic secrets meant to deceive.") { break; } }