added stuff to remove collections, etc