format titles, rename format method to format_text