added FunctionMap implementation from Tinkerbell library