Add additional solution to `map` implementation