Provided are D 2 or D 3 antagonist compounds and pharmaceutical compositions of formula I and pharmaceutically acceptable salts thereof, or isomers thereof, wherein R 1 , R 2 and R 3 are as defined herein. The invention further comprises methods for making the compounds of the invention and methods for the treatment of conditions mediated by the dopamine D 2 or D 3 receptor from the compounds of the invention.