compare in data space