convert portal_transforms to utility