diff --git a/js/API/LatticeAPI.js b/js/API/LatticeAPI.js
index eb4c9b454b03caba10d1230dbbbfd1721e502e13..50b37acb2ccb86b3aa220344febca8c8e59cf8ed 100644
--- a/js/API/LatticeAPI.js
+++ b/js/API/LatticeAPI.js
@@ -103,8 +103,8 @@ define(['lattice', 'plist'], function(lattice){
 
         },
 
-        addCellAtIndex: function(){
-
+        addCellAtIndex: function(x, y, z, data){
+            var index = new THREE.Vector3(x, y, z);
         },
 
         removeCell: function(cell){
diff --git a/js/lattice/Lattice.js b/js/lattice/Lattice.js
index dd332a8eb2f98822dea345d7295c7ffe83882fe6..a90679a88bc96321fc3523973a402b2d0a104f38 100644
--- a/js/lattice/Lattice.js
+++ b/js/lattice/Lattice.js
@@ -20,7 +20,6 @@ define(['underscore', 'backbone', 'appState', 'globals', 'plist', 'materialsPlis
 
             aspectRatio: null,
 
-            denseCellsMin: null,
             overlappingCells: [],
 
             nodes: []
diff --git a/js/lattice/LatticeBase.js b/js/lattice/LatticeBase.js
index 64fc615090e89c30964ca6f3dd0468bfcde74227..e6d2630d8bd62dd7a44a9a56a7f5343fc31350d4 100644
--- a/js/lattice/LatticeBase.js
+++ b/js/lattice/LatticeBase.js
@@ -3,11 +3,6 @@
  */
 
 
-/**
- * Created by aghassaei on 1/16/15.
- */
-
-
 define(['underscore', 'backbone', 'appState', 'globals', 'plist', 'three', 'threeModel'],
     function(_, Backbone, appState, globals, plist, THREE, three){
 
@@ -553,7 +548,7 @@ define(['underscore', 'backbone', 'appState', 'globals', 'plist', 'three', 'thre
             }
 
             var bounds = this.calculateBoundingBox();
-            this.set("denseCellsMin", bounds.min.clone().add(this.get("cellsMin")));
+            this.set("cellsMin", bounds.min.clone().add(this.get("cellsMin")));
             var size = bounds.max.sub(bounds.min);
 
             //create array of nulls