The invention relates to compounds of formula (I) wherein R1 represents aryl, which is unsubstituted, or mono-, di-, or tri-substituted wherein the substituents are independently selected from the group consisting of (C1-4)alkyl, (C1-4)alkoxy, halogen, and trifluoromethyl; R2 represents hydrogen, or —CO—R21; R21 represents (C1-5)alkyl, (C1-3)fluoroalkyl, or (C3-6)cycloalkyl; m represents the integer 2, or 3; p represents the integer 2 or 3; and R3 represents hydrogen, or (C1-5)alkyl; and pharmaceutically acceptable salts of such compounds. These compounds are useful as calcium channel blockers.