To understand the event "Pamela waved goodbye.", it is important to know that Pamela waved goodbye because she was leaving.