renamed FuntionType to TransformType