move transform to predefined methods