             let y = (getDataForColumnsInLine(line, from: 39, to: 46) as NSString).floatValue
             let z = (getDataForColumnsInLine(line, from: 47, to: 54) as NSString).floatValue
             
-            let atom = Atom(id: id, name: name, residue: residue, chain: chain, element: element, x: x, y: y, z: z)
+            let atom = Atom(id: id, name: name, residue: residue, chain: chain, element: element, x: x, y: y, z: z, remoteness: remoteness)
             
             molecule.addAtom(atom)
         }

            
            let name = getDataForColumnsInLine(line, from: 13, to: 16)
            let element = getDataForColumnsInLine(line, from: 13, to: 14)
            
            let residue = getDataForColumnsInLine(line, from: 18, to: 20)
            let chain = getDataForColumnsInLine(line, from: 22, to: 22)

    }
    
    func getDataForColumnsInLine(line: String, from: Int, to: Int) -> String {
        let tmp = (line as NSString).substringFromIndex(from - 1)
        return (tmp as NSString).substringToIndex(to - from + 1).stringByTrimmingCharactersInSet(NSCharacterSet.whitespaceCharacterSet())
    }
    
    func isRecordTypeEqualTo(to: String, line: String) -> Bool {
