modelMutex added in some locations