added support to arrays in the map call some time ago