event listener is added to the list items