comparison with a and b