put dev null to hush output.  might want to look at diff as atoi(diff.c_str()) and check if 0 == equals 1== different