Wrapper function added for Mapper