diff --git a/src/index.html b/src/index.html
index 9debc8f..18aba53 100644
--- a/src/index.html
+++ b/src/index.html
@@ -163,7 +163,11 @@
}
function update() {
- var failed_checks = cageCheck(savicSuiteRoyaleDim, ratSlider.value, fullFloorNum.value);
+ const width = inputWidth.value / 100
+ const depth = inputDepth.value / 100
+ const height = inputHeight.value / 100
+ const dimensions = new Dimensions(width, depth, height)
+ var failed_checks = cageCheck(dimensions, ratSlider.value, fullFloorNum.value);
var resultsDiv = document.getElementById("resultsDiv");
resultsDiv.innerHTML = `Ergebnis`;