implementation of cdr-8