use the new 'on' method name

instead of addlistener