Provided are compounds useful for controlling endoparasites both in animals and agriculture. Further provided are methods for controlling endoparasite infestations of an animal by administering an effective amount of a compound as described above, or a pharmaceutically acceptable salt thereof, to an animal, as well as formulations for controlling endoparasite infestations using the compounds described above or an acceptable salt thereof, and an acceptable carrier. The claimed compounds are described by the following Markush formula: A typical example for a compound according to above formula is: A typical example for a compound according to above formula is: