adding map fun