got the array as handler working with an example; may need to add some more but .on stuff works.