Functionnality works with events.