Simplifying transform logic here (derp).