refactoring setters