add support for mapping function