refactoring banner