understanding aarray_map