handle nested transforms (wip)