Getting the doc ready