add delegate to event