The present application describes selective ligands of formula (I) for neuronal nicotinic receptors (NNRs), more specifically for the α4β2 NNR subtype, compositions thereof, and methods of using the same, wherein X, R 1 , X, R 2 , R 3 , L 1 , m, n, p, and q are defined in the specification.