diff --git a/src/main/java/eu/gaiax/sdcreationwizard/api/ConversionService.java b/src/main/java/eu/gaiax/sdcreationwizard/api/ConversionService.java
index 11e3bfe82ed84c00fb86d89c7c941494c852c7c1..b9959b698d935055031a102c69ac3d3ebcb57cde 100644
--- a/src/main/java/eu/gaiax/sdcreationwizard/api/ConversionService.java
+++ b/src/main/java/eu/gaiax/sdcreationwizard/api/ConversionService.java
@@ -63,7 +63,7 @@ public class ConversionService {
         return new ShaclModel(prefixList, shapesSorted);
     }
 
-    public static int calculateDepth(VicShape shape, List<VicShape> shapes) {
+    private static int calculateDepth(VicShape shape, List<VicShape> shapes) {
         int depth = 0;
         for (ShapeProperties property : shape.getConstraints()) {
             String children = property.getChildren();