diff --git a/methods/Method_I.cpp b/methods/Method_I.cpp
index e12bff72412a0f5c7ddddb4769ccd00b4de1b585..434b517db7c4940acfb76aab8417db7536e071e1 100644
--- a/methods/Method_I.cpp
+++ b/methods/Method_I.cpp
@@ -71,7 +71,7 @@ Method_I::~Method_I()
 // {
 //      return (number < start || number > end);
 // };
-bool Method_I::Process (const PedData& peddata,const fs::path& scriptsLocation, const double& zPos_measureArea)
+bool Method_I::Process(const PedData& peddata,const fs::path& scriptsLocation, const double& zPos_measureArea)
 {
      bool return_value = true;
      _scriptsLocation = scriptsLocation;
@@ -110,7 +110,7 @@ bool Method_I::Process (const PedData& peddata,const fs::path& scriptsLocation,
           }
      }
 
-     if(!OpenFileMethodD())
+     if(!OpenFileMethodI())
      {
           return_value = false;
      }
@@ -216,8 +216,9 @@ bool Method_I::Process (const PedData& peddata,const fs::path& scriptsLocation,
           }
           return return_value;
      }
+}
 
-     bool Method_I::OpenFileMethodD()
+     bool Method_I::OpenFileMethodI()
      {
 
           std::string voroLocation(VORO_LOCATION);
diff --git a/methods/Method_I.h b/methods/Method_I.h
index 26373caaecbc696a28c066b95099423d496cd944..cf341976d7d13478f6a45e566dfea3f9664f4c3e 100644
--- a/methods/Method_I.h
+++ b/methods/Method_I.h
@@ -89,7 +89,7 @@ private:
      double _grid_size_X;      // the size of the grid
      double _grid_size_Y;
      float _fps;
-     bool OpenFileMethodD();
+     bool OpenFileMethodI();
      bool OpenFileIndividualFD();
      fs::path _geometryFileName;
      fs::path _trajectoryPath;