compare to the right value