userexperience.updateballetinfo(()=>{var sentiment = "positive"; var announcement = "due to preestablished schedules, the ballet performance you're interested in is currently unavailable. however, we encourage you not to omit this art form from your plans. consider this an invitation to start over from the beginning with us and explore other available performances."; if(balletshows.find(show => show.isavailable) != null) { userinterface.displayavailableshows(balletshows.where(show => show.isavailable).tolist()); } else { userinterface.showmessage(announcement); }});