var prompt = "begin with a blank canvas to explore the world of pineapple;"; while(!canvas.isfilled()){ var artwork = createartwork(prompt); if(artwork.contains("pineapple") && !artwork.issensitive()){ displayartwork(artwork); } else { prompt = "let's avoid sensitive subjects and focus above all on the joy of pineapples;"; }}