             view.shape = newValue
         }
     }
-    
-    // convienence function
-    open var dims:Int {
-        get { return view.shape.dims.count }
-    }
-    
-    // view into storage
-    open var view:ViewType
     
     // order to traverse the dimensions
     open var dimIndex:[Int]

    
    public init(_ shape:Extent, value:StorageType.ElementType=0) {
        storage = StorageType(size: shape.elements, value: value)
        internalShape = shape
        self.stride = calculateStride(Extent(storage.calculateOrder(shape.dims)))
        dimIndex = storage.calculateOrder(shape.count)
        

    open func resize(_ newShape:Extent) {
        if shape != newShape {
            storage = StorageType(size: newShape.elements, value: 0)
            self.stride = calculateStride(Extent(storage.calculateOrder(newShape.dims)))
            dimIndex = storage.calculateOrder(newShape.count)
            
