diff --git a/zUtil_Boundaries/gtMakeBoundariesStructure.m b/zUtil_Boundaries/gtMakeBoundariesStructure.m
index bf5e1e6950359f4a69d3351ebe9cade09b675100..6782068f38cef2b0a3db7be4004fb81b6751f93b 100644
--- a/zUtil_Boundaries/gtMakeBoundariesStructure.m
+++ b/zUtil_Boundaries/gtMakeBoundariesStructure.m
@@ -1,16 +1,16 @@
 
 
-function boundaries_structure = gtMakeBoundariesStructure(boundaries, grains)
+function boundaries_structure = gtMakeBoundariesStructure(boundary_map, grains)
 
 % from the boundaries and grains volume, start to build the
 % boundaries_structure.
 
-nbounds=max(boundaries(:));
+nbounds = max(boundary_map(:));
 
 % loop through each boundary
 for i=1:nbounds
     
-    list=find(boundaries(:)==i);
+    list=find(boundary_map(:)==i);
    
     boundaries_structure(i).count=length(list);