Add new cmp method