added in throttling on document pull