this post introduced me to the arrow function ((https://stackoverflow.com/questions/24900875)), which i'd previously not heard of. evidently it was introduced in ECMAscript 6 but for engines that use JavaScript and older browsers (amazingly, they still exist) it won't work