Example for refactoring