diff --git a/pyt/cfg.py b/pyt/cfg.py
index <HASH>..<HASH> 100644
--- a/pyt/cfg.py
+++ b/pyt/cfg.py
@@ -334,7 +334,7 @@ class CFG(ast.NodeVisitor):
         Args:
             function_node: is the node to create a CFG of
         """
-        print(function_node.name)
+        self.module_definitions_stack.append(ModuleDefinitions())
         
         self.function_names.append(function_node.name)
Add stack when creating funciton as a cfg