added event types for leave