fillStruct now in runtime, example fixed