Apparatus is provided, including an ingestible capsule, one or more
electrodes coupled to the capsule, and a control unit configured to
maintain the capsule in a vicinity of a designated site of a subject by
driving at least a subset of the electrodes to apply a current that
induces reverse intestinal peristalsis in the subject. Other embodiments
are also described.