document setting up