pass in x and y
for comparisons