A sample for map function