adding objects to document list