Add a better transform example
Merge pull request #1897 from alexspeller/fix-poor-transform-example

Add a better transform example