added the proof-of-concept and debugged zi.transform