refactoring design page