added full use case for native events example