typically 10 nm in size and each form a single true magnetic domain. Each magnetic region in total forms a magnetic dipole which generates a magnetic field. In older hard disk drive (HDD) designs the regions were oriented horizontally and parallel to the disk surface, but beginning about 2005, the orientation was changed to perpendicular to allow for closer magnetic domain spacing. Older hard disk drives used iron(III) oxide (Fe2O3) as the magnetic material, but current disks use a cobalt-based alloy. For reliable storage of data, the recording material needs to resist self-demagnetisation, which occurs when the magnetic domains repel each other. Magnetic domains written too close together in a weakly magnetisable material will degrade over time due to rotation of the magnetic moment of one or more domains to cancel out these forces. The domains rotate sideways to a halfway position that weakens the readability of the domain and relieves the magnetic stresses. A write head magnetises a region by generating a strong local magnetic field, and a read head detects the magnetisation of the regions. Early HDDs used an electromagnet both to magnetise the region and to then read its magnetic field by using electromagnetic induction. Later versions of inductive heads included Metal In Gap (MIG) heads and thin film heads. As data density increased, read heads using magnetoresistance (MR) came into use; the electrical resistance of the head changed according to the strength of the magnetism from the platter. Later development made use of spintronics; in read heads, the magnetoresistive effect was much greater than in earlier types, and was dubbed "giant" magnetoresistance (GMR). In today's heads, the read and write elements are separate, but in close proximity, on the head portion of an actuator arm. The read element is typically magneto-resistive while the write element is typically thin-film inductive. The heads are kept from contacting the platter surface by the air that is extremely close to the platter; that air moves at or near the platter speed. The record and playback head are mounted on a block called a slider, and the surface next to the platter is shaped to keep it just barely out of contact. This forms a type of air bearing. Magnetic recording classes Analog recording Analog recording is based on the fact that remnant magnetisation of a given material depends on the magnitude of the applied field. The magnetic material is normally