made transform function
demo
2.2 demo2()