                 }
                 
                 // CSV line
-                let line = ",\(screenCount),\(sof), \(time), s.,\n"
+                let line = ",\(positionX),\(sof), \(time), s.,\n"
                 collectionOfTableRows.append(line)
-                
-                screenCount += 1
                 
             } else {
                 let header: String

                }
                
                // CSV line
                let line = ",\(screenCount),\(sof), \(time), s.\n"
                collectionOfTableRows.append(line)
                
                screenCount += 1
                needHeader = true
                
            } else {

    fileprivate func createCounterpointinLines(_ session: CounterpointingSession) -> Array<String> {
        var collectionOfTableRows: Array<String> = Array()
        var headerCount = 0
        var needHeader = true
        
        for move in session.moves {
