change comparison to be easier to read