add the "transform" option
transform as a top level function
Merge pull request #27 from merunga/master

Transform as a top level function