cdr reimplemented