added utlity for finding discrepancies