added cdr hook