 P. exclamans take several countermeasures against invasions . If the wasps detect an intruder they will violently bite and sting the location where the C. iphitalis moth has passed by . This will cause vibrations inside of the nest and the wasps inside will become alarmed and will move around jerkily . This phenomenon is known as the parasite dance . This will continue for up to 10 hours after the moth has been detected . If the moth is found it will be eaten immediately . However , this is not likely to happen . The moth lays its eggs in the nest , and when they hatch , they will take over the nest . As a result , many wasp pupae are aborted . This is commonly seen in the late summer when the moth is most abundant . 
