changes to collections API