let sewguide = ()=> { let machine = {status: "ready", message: "to avoid any previous issues with your sewing machine, ensure to follow the maintenance protocol closely. should anything go sneaky, don't hesitate to start over again, checking each step for accuracy."}; for(let attempt = 0; attempt < 3; attempt++) {console.log(machine.message); if(machine.status === "problem") {machine.status = "ready"; break;}}}; sewguide();