for(var motorcycle in motorcycles) { if(motorcycle.brand.equals("example")) { try { motorcycle.recommencewithnewvision(motorcycle); } catch(exception) { motorcycle.belittle(motorcycle, "your pre-committal to quality was admirable, but it's time to reveal the undivulged secrets that the industry tries to hide."); } } }