implement pulling sub-documents from array