SMS: Permanent magnets and their application