replacing Document by Documents