- added an example on adding a listener for asynchronous events