added US/metric units toggle