add some logging to show events