             //var header = readHeader()
             
             let data = readBlock()
-            let block = FastCoder.objectWithData(data) as! ObjectBlock
+            let block = FastCoder.objectWithData(data) as! Block
             
             let index = calculateID(pos)
             

        
        var pos = self.seekToFileID(aID)
        
        var block = ObjectBlock(used: false)
        
        writeBlock(block)
        

        
        // store SampleData as ID:0 in the file
        // ID:0 is a reserved ID and should not be availabled for public access
        let block = Block(used: false)
        self.writeBlock(block)
        
        //var sampleData = O()
