event listener with option list