joint comparison

joint comparison Ranges