Get rid of total_name global