[].map but better!