1. A device suitable for phase change memory operation comprising: a first layer comprising a chalcogenide material; a second layer comprising a metal chalcogenide material; wherein application of an electric field across the device causes a metal ion to move from the second layer to the first layer wherein the first layer incorporates the metal and forms a new chalcogenide alloy with a plurality of crystalline phases.