Compounds are provided which are antagonists of the 
calcium sensing 
receptor, and have the general formulawhereinm is 0, 1, 2, 3 or 4;each X is independently selected from the group consisting of 
hydrogen, halo, cyano, nitro, OCF3, hydroxy, amino, carboxyl, 
alkyl, alkenyl, alkynyl, cycloalkyl, cycloheteroalkyl, haloalkyl, alkoxy, alkoxycarbonylalkyl, hydroxycarbonylalkyl, 
aryl, arylalkyl, heteroaryl, heteroarylalkyl, cycloalkylalkyl, R1O, R1R2N, R1OCO, R1CO, R1R2NCO, R1R2NCONR2a, R1OCONR2a, R1CONR2a, R1S, R1SO, R1SO2, R1R2NSO2, R1R2NSO2NR2a, and R1SO2NR2a;R1 is 
alkyl, alkenyl, alkynyl, cycloalkyl, cycloheteroalkyl, 
aryl, heteroaryl, arylalkyl, or heteroarylalkyl;R2 and R2a are the same or different and are independently selected from 
hydrogen, 
alkyl, alkenyl, alkynyl, cycloalkyl, cycloheteroalkyl, 
aryl, heteroaryl, arylalkyl, or heteroarylalkyl;n is 1, 2, or 3;W is O or H,R3;R3 is 
hydrogen or hydroxyl;Ar is a substituted or unsubstituted aryl group or a substituted or unsubstituted heteroaryl group;Q is hydrogen, F, or hydroxyl.In addition, a method for using these compounds to treat diseases associated with abnormal or mineral 
homeostasis is also provided.