     
     public var numberOfRows: Int {
         get {
-            return _numberOfRows - 1
+            return _numberOfRows
         }
     }
     

        let path = NSBundle.mainBundle().pathForResource(fileName, ofType: "csv")
        var csv = String(contentsOfFile: path!, encoding: NSUTF8StringEncoding, error: nil)!
        csv = csv.stringByReplacingOccurrencesOfString("\r", withString: "", options: NSStringCompareOptions.LiteralSearch, range: nil)
        _lines = csv.componentsSeparatedByString("\n")
        _numberOfColumns = _lines[0].componentsSeparatedByString(",").count
        _numberOfRows = _lines.count
        headers = _lines[0].componentsSeparatedByString(",")
        setRows()
        setColumns()
    }
    
    private func setRows() {
        var rows = [[String: String]]()
        for i in 1..<_numberOfRows {
            var row = [String: String]()
            let vals = _lines[i].componentsSeparatedByString(",")
            var i = 0


public class CSVReader {
    
    private var _numberOfColumns: Int = 0
    private var _numberOfRows: Int = 0
    private var _lines = [String]()
    public var headers = [String]()
    public var columns = [String: [String]]()
