add opts to getTransforms