document engine usage