cleaning up transform example