split mapper for func and method