changes for local class