LoadStruct method added (not finished)