Protecting against an error with new collections