Added QueryStruct Method