Changed: the collection name is now a variable