Refactoring example pages