Compounds according to formula I: wherein R1, W, R2, R3, X, R4 and R5 are as described in the specification, enantiomers thereof, pharmaceutically acceptable salts thereof, processes for preparing them, pharmaceutical compositions containing them and their use in therapy, especially for treatment of conditions associated with reductions in nicotinic transmission.