inject inline structs