add a faster way to do comparisons?