added doc section on event listeners