Defining a helper function to set the base title