define transform phase