process for add_and_check_event