get_transform method