make mongo_random_lookup method to use the same pin id list