added switch feature, now you can switch the units