First stage of transformation