A magnetic random access memory element is configured to store a state when electric current flows and includes a first magnetic tunnel junction for storing a data bit and a second MTJ for storing a reference bit. The first reactive functional group can be used to provide attachment to a surface of a substrate. This simplified abstract is not intended to limit, and should not be interpreted as limiting, the scope of the claims.