The Invention provides compounds of Formula (I) and pharmaceutically acceptable salts, solvates, hydrates, N-oxides, or diastereomers thereof: wherein W1, W2, W3, J1, J2, A, R1, R2, R3, R4, R5, a, and b are defined as set forth in the specification. The Invention also provides uses of the compounds of any one of Formulae (I)- (VIII) and the pharmaceutically acceptable salts, solvates, hydrates, N-oxides, or diastereomers thereof. Compounds of the Invention are useful for treating a disorder responsive to blockade of one or more sodium channels. In certain embodiments, Compounds of the Invention are useful for treating pain.