example for events, callbacks and logs