doc ready stuff