Refactoring shoes example