A COMPOUND OF FORMULA I WHEREIN A, X, Y, Z, R1 AND R24 ARE DESCRIBED HEREIN. THE COMPOUNDS ARE USEFUL AS INHIBITORS OF POTASSIUM CHANNEL FUNCTION AND IN THE TREATMENT AND PREVENTION OF ARRHYTHMIA, IK-ASSOCIATED DISORDERS, AND OTHER DISORDERS MEDIATED BY ION CHANNEL FUNCTION.