added cmp block code