don't use cachedModel - it's null first time round, and we want to modify the current model. Note that this modifies the cached version anyway.