base edition ,compare a and b