Types of magnets