The disclosure relates to pyridyl carboxamide derivatives of general formula (I), wherein B can be 2-pyridyl, 3-pyridyl or 4-pyridyl and the other moieties are as disclosed in the specification. These compounds are used as nematicides the disclosure also relates to methods for the control of nematodes. Example compounds include: 2-[4-chloro-6-(trifluoromethyl)pyridin-3-yl]ethanamine 3-[3-chloro-5-(trifluoromethyl)pyridin-2-yl]butan-2-amine 3-[3-chloro-5-(trifluoromethyl)pyridin-2-yl]butan-2-one 2- [3 -chloro-5-(trifluoromethyl)pyridin-2-yl]-1-{ [2-(trifluoromethyl)benzoyl] amino} ethyl acetate N-{ 2-[3-chloro-5-(trifluoromethyl)pyridin-2-yl]-2-methylpropyl} -2-(trifluoromethyl)benzamide