cmp -> cmpType for clarity