The pit and the pendulum