Add compare operator