Giant magnetoresistance (GMR) and tunnel magnetoresistance (TMR) effects allow the electrical resistance of thin film structures to be controlled using an external magnetic field. GMR was discovered in 1988 and made use of alternating ferromagnetic and non-magnetic layers, leading to the development of spintronics. Spintronics utilizes the intrinsic spin of electrons rather than just their charge. This enables novel devices like MRAM which uses magnetic tunnel junctions to provide non-volatile memory. MRAM has advantages over conventional memory like low power consumption and non-volatility.