Updated for exercise19.