create a FunctionMap