JIT: converted team and structs