WIP, code compiles but gets stuck during transform