added mapIt() function call