Applying a magnetic field or inclusion of magnets in the apparatus