docmuneted code