document stubs