         return nil
     }
     
-    private static func makeNode(name:String, params paramsIn:[String:Any]?, context:VSContext) -> VSNode? {
-        guard let info = VSScript.getNodeInfo(name: name) else {
-            print("### VSScript:makeNode Invalid node name", name)
+    private static func makeNode(nodeName:String, params paramsIn:[String:Any]?, context:VSContext) -> VSNode? {
+        guard let info = VSScript.getNodeInfo(name: nodeName) else {
+            print("### VSScript:makeNode Invalid node name", nodeName)
             return nil
         }
         var params = [String:Any]()

            }
        }
        
        if let node = VSControllers.makeNode(name: name) {
            return node
        } else if let node = VSMPSFilter.makeNode(name: name, params: params, context: context) {
            return node
        }


            return buffer
        })
        let sourceCount = info["sources"] as? Int ?? 1
        guard let kernel = context.device.newDefaultLibrary()!.makeFunction(name: nodeName) else {
            print("### VSScript:makeNode failed to create kernel", nodeName)
            return nil
        }
        do {
            let pipelineState = try context.device.makeComputePipelineState(function: kernel)
            return VSFilter(pipelineState: pipelineState, buffers: buffers, sourceCount:sourceCount)
        } catch {
            print("### VSScript:makeNode failed to create pipeline state", nodeName)
        }
        return nil
    }
