refactoring: reduce access right for some methods