4.7 Refactoring Product Gallery