prepare to use doc