The present invention relates to compounds which are agonists of muscarinic receptors and / or M 4 receptors and which are useful in the treatment of muscarinic M 1 / M 4 receptor mediated diseases. Pharmaceutical compositions containing the compounds and therapeutic uses of the compounds are also provided. The compounds include those according to formula (la) or salts thereof: Wherein p, q, r, s, Q, R 3 and R 4 are as defined herein.본 발명은 무스카린성 수용체 및/또는 M4 수용체의 작용제이고 무스카린성 M1/M4 수용체 매개 질환의 치료에서 유용한 화합물에 관한 것이다. 이 화합물을 함유하는 약제학적 조성물 및 이 화합물의 치료학적 용도가 또한 제공된다. 화합물은 하기 화학식 (1a)에 따른 것 또는 이의 염을 포함한다: 식 중, p, q, r, s, Q, R3 및 R4는 본 명세서에서 정의된 바와 같다.