A 34-year-old woman presents with palpitations. Her ECG shows an irregularly irregular rhythm with no P waves and a ventricular rate of 140 bpm. This is her first presentation. She is haemodynamically stable. After initial rate control, a decision is made for rhythm control. What is the most appropriate next step before attempting cardioversion?