A piperidine-substituted indole or heteroderivative compound of formula: wherein R1 is phenyl, benzoxazole, benzothiazole, or thiazolo [5,4-b] pyridine, each of which may be substituted with one, two or three R2 R2 are each independently C1-6alkyl, C1-6-haloalkyl, halogen, or COOR3 R3 is H, or C1-6-alkyl R5 is C2-6-alkyl, C1-6-alkoxy,C1-6-acyloxy,C1-6-aralkyl,C3-6-cycloalkyl, (C3-6-cycloalkyl)-C1-6- alkyl,C1-6-haloalkyl, C1-6-thioalkyl, halogen, NO2 or CN R6 are each independently C1-6-alkyl, C1-6-haloalkyl, or halogen A is (C3-6cycloalkyl)-C2-8-alkylene or straight or branched chain C2-8-alkylene, each optionally substituted with halogen or OH B is phenyl D-E is CH-CH2- or C=CH- X-W-V is N-C=CR7 or C=C-NR7 R7 is H or C1-6-alkyl m is 0, 1, 2, 3 or 4 or a pharmaceutically acceptable salt thereof.