What are the three properties of a magnet?