set up doc