     var used: Bool = true;
 }
 
-class ManagedObjectStore<T: ObjectCoding ,H: Coding> : ObjectStore<T,H> {
+class ManagedObjectStore<O: ObjectCoding ,H: Coding> : ObjectStore<O,H> {
     
     var header: NSData
     var deleteHeader: NSData

        
        let pos = self.endOfFile
        
        self.endOfFile = pos + CUnsignedLongLong(sizeof(T))
        
        return pos;
    }

        // set virtual file end to offSet because initStore use the register methode
        //self.endOfFile = CUnsignedLongLong(self.fileOffset)
        
        self.dataSize = sizeof(HEADER) + sizeof(O)
        
        self.endOfFile = self.fileHandle.seekToEndOfFile()
        
