Add helper function for title