using .change() instead of .addEventListener()