Needs more docs here to explain how this is being transformed and why