The present invention concerns compounds of formula ##STR1## wherein X is O, S or NH; n is 1 or 2 and A is a 5-membered heterocyclic ring, wherein the bicyclic system may be substituted. The compounds are useful as myotonolytic and anti-hypertensive agents.