added support for releasing collections