WIP: working on general transform