Repaired map function in 06 Functional