checker to check of r2 is 0