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