Inclusion Criteria:  Adult patients scheduled for elective lung cancer surgery Willing to participate in the study Curatively aimed surgery Preoperative decision for mini-invasive surgery  Exclusion Criteria:  Participation in any other clinical trial Previous chronic or paroxysmal atrial fibrillation or atrial flutter Cardiac pacemaker History of cardiac conduction disturbances including bundle branch blocks History of cardiac ablation procedures History of previous surgery in the thoracic area including open heart surgery Preoperatively anticipated need for concomitant thoracic wall resection Preoperatively anticipated need for open surgery