Change transform to union