add the object oriented event.