Input (grade 7): In the European Middle Ages, the herb was placed beneath pillows to aid sleep and ward off nightmares.
Output (grade 4): In the European Middle Ages, the herb was placed under pillows. This was done to help sleep and ward off nightmares.