this function seems off-- you're not actually using `readIds`?