Which of the following is executed when a predetermined event occurs?