The fromation of martensite