working on cmp