make nested local classes private