Restructuring and beginning of transformer/compiler