first try at prompt_on_event()