diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4465174a8f8961eb30836d5eff1e1dfa0a02f80b..a413a510656a8d4fa56183843a1d232f30f7ee15 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,11 @@
+# 0.1.41
+
+_11th December 2020_
+
+### Changed
+
+- added basic z-index incrementing, when you touch a node it will jump to the front a node gets to within max z-index > 2147483640 all nodes will reset to 0.
+
 # 0.1.40
 
 _9th December 2020_
diff --git a/app/package.json b/app/package.json
index 7041aa6b20d8ef2fda6ac2ee644c3dfa11808b0c..179d7a515884725615c78d13baac75e692a09c7d 100644
--- a/app/package.json
+++ b/app/package.json
@@ -1,6 +1,6 @@
 {
   "name": "nodenogg.in",
-  "version": "0.1.40",
+  "version": "0.1.41",
   "private": true,
   "scripts": {
     "serve": "vue-cli-service serve",
diff --git a/app/src/components/NodesLayer.vue b/app/src/components/NodesLayer.vue
index cf12ef4f6536f46e0c9b90e6a131c4a41ba2bb83..a59adea9888135cd869e91b79577a760652d234b 100644
--- a/app/src/components/NodesLayer.vue
+++ b/app/src/components/NodesLayer.vue
@@ -276,7 +276,6 @@ export default {
       for (i = 0; i < Object.keys(this.configPositions).length; i++) {
         //console.log(Math.max(...this.configPositions[i].z_index))
         zindexes.push(this.configPositions[i].z_index)
-
         if (this.configPositions[i].node_id == this.nodeid) {
           this.width = this.configPositions[i].width
           this.height = this.configPositions[i].height
@@ -287,16 +286,15 @@ export default {
       var topZ = Math.max(...zindexes)
 
       for (i = 0; i < Object.keys(this.configPositions).length; i++) {
+        if (topZ > 2147483640) {
+          this.configPositions[i].z_index = 0
+        }
+
         if (this.configPositions[i].node_id == this.nodeid) {
           this.width = this.configPositions[i].width
           this.height = this.configPositions[i].height
-          if (topZ > 9999) {
-            this.configPositions[i].z_index = 0
-          } else {
-            this.configPositions[i].z_index = topZ + 1
-          }
+          this.configPositions[i].z_index = topZ + 1
         }
-        // console.log(Math.max(...zindexes))
       }
     },
     onResize(x, y, width, height) {