more documents functions.