added an example listener that listens to delete events