A compound of formula (I)wherein A, R1, R3, and R24 are described herein. The compounds are useful as inhibitors of potassium channel function and in the treatment of arrhythmia, maintaining normal sinus rhythm, IKur-associated disorders, and other disorders mediated by ion channel function.