Modified magnets example.