apply event and examples