refactor cdr_view
refactor cdr_view