keys are compared