var userhammockexperience = new hammocksession("private", "comfort"); for(int i = 0; i < userhammocks.length; i++) { if(userhammocks[i].condition == "pre-existing") { console.writeline("enjoy your private hammock without ridicule!"); } else { userhammocks[i].condition = "start anew"; query = "would you like tips on setting up your new hammock?"; console.writeline(query); } }