and permanent magnets