Simplified transforms to use same function