wired up collection to API