A method for the treatment of pain in mammals which comprises administering orally or parenterally thereto, in therapeutically effective analgesic doses, at least one compound of the formula ##STR8## wherein X is nitrogen, NO or CR.sup.1 ;
- Y is C(R.sup.1)(R.sup.2)O, OC(R.sup.1)(R.sup.2), C(R.sup.1)(R.sup.2)N(R.sup.3), N(R.sup.3)C(R.sup.1)(R.sup.2) or C(R.sup.1).dbd.C(R.sup.2);
- wherein R.sup.1, R.sup.2, and R.sup.3 are independently hydrogen or lower alkyl containing 1 to 10 carbon atoms;
- Z is oxygen or (R.sup.1)(R.sup.2);
- R.sup.4 is R.sup.1, benzyl, benzyl ring substituted with R.sup.5, benzyl alpha monosubstituted with R.sup.1, benzyl ring substituted with R.sup.5 and alpha monosubstituted with R.sup.1, phenyl, phenylalkyl containing 2 to 10 carbon atoms in the alkyl group or phenylalkyl ring substituted with R.sup.5 and containing 2 to 10 carbon atoms in the alkyl group;
- wherein R.sup.5 is R.sup.1, lower alkoxy containing 1 to 10 carbon atoms, halogen, trihalomethyl, NO.sub.2, N(R.sup.1)(R.sup.2) or C(O)N(R.sup.1)(R.sup.2);
- R.sup.6 is R.sup.1 or R.sup. 6 is C(O)(R.sup.7) with the proviso that Z is not oxygen;
- and wherein R.sup.7 is R.sup.1, phenyl, perfluoroalkyl containing 1 to 10 carbon atoms, phenylalkyl containing 1 to 10 carbon atoms in the alkyl group or a pharmaceutically acceptable acid addition salt thereof.