based on the change of magnetic properties