How the plate magnet works?