Added method to display title in console