Add explanation for map and pass function.