Most consumer goods have posted prices that exclude tax; taxes are added based on a percentage of the purchase price. Because of primitive gasoline pumps in the 1920s, United States gasoline prices are posted with taxes included and the taxes are set on cents per gallon. Taxes are added by federal, state and local governments. (These taxes collect the cost of maintaining the roads.) As of 2009, the federal tax is 18.4¢ per gallon for gasoline and 24.4¢ per gallon for diesel (excluding red diesel). Among states, the highest gasoline tax rates, as of January 2011, are California (47.7¢/gal), New York (47.3¢/gal), Hawaii (45.8¢/gal), and Connecticut (45.2¢/gal). The federal government and many states fail to increase their gasoline taxes over time with inflation. However, some states also charge a sales tax as a percentage and vary in amount depending on the cost of the gasoline.