made the total_bar use the overall number_format function