Add spaces between the words in the following text: Notionsthatpeoplewerenotonlyinfluencedbythespirits,butcouldalso–indeedhadto–influencethembyperformingreligiousrituals.
Notions that people were not only influenced by the spirits, but could also – indeed had to – influence them by performing religious rituals.