The method signature indicates we should be returning an immutable array here. So it might be better for favoriteNodes to be created as an NSArray and then create a separate mutable copy inside the if() which is assigned back..?