In some embodiments of the invention, the phase-changeable material layer pattern 140 a may include the material of the Ge???Sb???Te ternary system doped with impurities such as nitrogen and/or oxygen, which may be used alone or in a mixture thereof.