     */
     func createBlock(stringData: StringData, withNextID nextStringID:UID) -> UID {
         
-        var pos = registerBlock()
-        
-        var header = StringStoreHeader()
+        let pos = registerBlock()
+        
+        let header = StringStoreHeader()
         header.stringHash = stringData.hash
         header.nextStringID = nextStringID
         header.encodingUTF8 = stringData.encoding == NSUTF8StringEncoding

    
    override func deleteBlock(uid: UID) -> CUnsignedLongLong {
        
        var pos = self.seekToFileID(uid)
        
        var header : StringStoreHeader = readHeader()
        
        if header.nextStringID > 0 {
            deleteBlock(header.nextStringID)

        let dataUTF8 : NSData! = string.dataUsingEncoding(NSUTF8StringEncoding)
        let dataUTF16 : NSData! = string.dataUsingEncoding(NSUTF16StringEncoding)
        
        //let test = string.cStringUsingEncoding(NSUTF8StringEncoding)
        
        if dataUTF8.length <= dataUTF16.length {
                stringData = dataUTF8
