These are doc IDs not docs, rename variables?