Added title helper function