The present invention relates to compounds having the structure (I) useful as potassium channel inhibitors to treat cardiac arrhythmias, and the like.