2-Phenylethylamino substituted carboxamide derivatives of formula (I); whereinJ, W, R, R0 R1, R2, R3, and R4 have the meanings as defined in thespecification and pharmaceutically acceptable salts thereof, pharmaceuticalcompositions containing them as active ingredient and their use as sodiumand/or calcium channel modulators useful in preventing alleviating and curinga wide range of pathologies, including neurological, psychiatric,cardiovascular, inflammatory, ophthalmic, urology, and gastrointestinaldiseases where the above mechanisms have been described as playing apathological role, are described.