Changed the logic to display title and tagline