new docs for new code structure