style getter/setter refactoring