correct way to get all cid-s