Manually exported DoWithMap