cxr library, implemented