Added the new event to the example code.