refactoring Gallery