For instance, one "Legion of Super-Heroes" story by Jim Shooter had a team of Legionnaires put into a variety of deathtraps and the villains "wanted" the heroes to successfully escape. This was because the real purpose of the deathtraps was to have the Legionnaires use a great deal of energy doing so, which the villains then harnessed for their own benefit. Other stories have had villains use deathtraps as a means of testing the heroes or to distract them while the villain attends to other matters. On some occasions, the deathtrap is a machine that "absorbs" the energy from the hero/heroes.