improved builtin functions handling with an unordered_map