Switch to a compare function

For #7.