add event listener
end of the tutorial SDZ