Fix for #2 - callback when new events are received