`map` is used before it is defined here.