Refactoring and get