Fixed code example to match .map