reduce access on inner classes