all compare vals in global variables