add call to ScanStruct